<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>面向对象  多个类似对象声明 demo</title>
<link rel="stylesheet" href="css/base.css" />
<script>
var obj = new Object();
obj.name = "blue";
obj.sex  = "男";
obj.showName = function (){
	alert("大家好，我叫 " + this.name)
}
obj.showSex = function (){
	alert("我是 " + this.sex + "的。")
}

obj.showName();
obj.showSex();
</script>
</head>
<body>
<div class="wrap">
	<h2 class="wrap-h2">javascript 面向对象 多个类似对象声明！</h2>
	<div class="wrap-main wrap-index">
		<!--内容写这里-->
		
	</div>
</div>
</body>
</html>
